package entity

type GuideIcon struct {
	Id          int64  `gorm:"column:id;primary_key" json:"id"`
	ConfigKey   string `gorm:"column:config_key;type:varchar(255);not null" json:"config_key"`
	Label       string `gorm:"column:label;type:varchar(255);not null" json:"label"`
	ConfigValue string `gorm:"column:config_value;type:varchar(255);not null" json:"config_value"`
	Action      string `gorm:"column:action;type:varchar(255);not null" json:"action"`
	TagMenu     string `gorm:"column:tag_menu;type:varchar(255);not null" json:"tag_menu"`
	SmallIcon   string `gorm:"column:small_icon;type:varchar(255);not null" json:"small_icon"`
	BigIcon     string `gorm:"column:big_icon;type:varchar(255);not null" json:"big_icon"`
	Tag         int    `gorm:"column:tag;type:integer;not null" json:"tag"`
	Sort        int    `gorm:"column:sort;type:integer;not null" json:"sort"`
	BanStatus   int    `gorm:"column:ban_status;type:integer;not null" json:"ban_status"`
	CreatedAt   int64  `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
	UpdatedAt   int64  `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
}

func (g *GuideIcon) TableName() string {
	return "guide_icon"
}
